<div class="box">
    <h4 class="white">Project detail</h4>
    <div class="box-container">
        <form action="#" method="post" class="middle-forms">
            <p>Project detail</p>
            <fieldset>
                <legend>Fieldset Title</legend>
                <ol>
                    <li class="even">
                        <label class="field-title">Name </label> 
                        <label>
                            <?php echo $this->project->name ?>
                        </label>
                        <span class="clearFix">&nbsp;</span>
                    </li>
                    <li>
                        <label class="field-title">Svn Link </label> 
                        <label><?php echo $this->project->svn_url ?></label>
                        <span class="clearFix">&nbsp;</span>
                    </li>
                    <li class="even">
                        <label class="field-title">Project leader </label> 
                        <label>
                            <a class="col-second row-nav" href="/user/profile/<?php echo $projectleader->id ?>">
                                <?php //echo $projectleader->username ?>
                            </a>
                        </label>
                        <span class="clearFix">&nbsp;</span>
                    </li>
                    <li>
                        <label class="field-title">Host IP </label> 
                        <label>
                            <?php echo $this->project->host_ip ?>
                        </label>
                        <span class="clearFix">&nbsp;</span>
                    </li>
                    <li class="even">
                        <label class="field-title">Host Account </label> 
                        <label>
                            <?php echo $this->project->host_acc ?>
                        </label>
                        <span class="clearFix">&nbsp;</span>
                    </li>
                    <li>
                        <label class="field-title">Database Account </label> 
                        <label>
                            <?php echo $this->project->db_acc ?>
                        </label>
                        <span class="clearFix">&nbsp;</span>
                    </li>
                </ol><!-- end of form elements -->
            </fieldset>
            <?php
//            if (isset($user)) {
//                if ($user->id == $project->user_id) {
                    ?>
                    <div class="align-left inner-nav" style="width:100px; float: left">
                        <span class="sb"><input onclick="window.location.href='/project/edit/<?php echo $this->project->id ?>'" type="button" name="update" value="Update project"/></span>
                    </div><span class="clearFix">&nbsp;</span>
                <?php //}
            //} ?>
            <span class="clearFix">&nbsp;</span>
        </form>
    </div>
</div>